package com.ruoyi.system.service.impl;

import com.ruoyi.system.domain.ShouhouInfo;
import com.ruoyi.system.domain.ShouhouRecord;
import com.ruoyi.system.mapper.EpmShouhouRecordMapper;
import com.ruoyi.system.service.IEpmShouhouRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EpmShouhouRecordServiceImpl implements IEpmShouhouRecordService {
    @Autowired
    private EpmShouhouRecordMapper epmShouhouRecordMapper;

    public List<ShouhouRecord> list(ShouhouRecord shouhouRecord){
        return epmShouhouRecordMapper.list(shouhouRecord);
    }

    public void delete(Integer[] ids) {
        System.out.println(ids);
        epmShouhouRecordMapper.deleteEpmInformationByIds(ids);
    }

}
